package jp.co.itfrontier.mashup.core {
	import mx.logging.Log;
	import mx.logging.ILogger;
	
	public class Logger extends Log {
		
		private static var instance:ILogger;
		
		public function Logger() {
			if (instance != null) {
				throw new Error("既にLoggerはインスタンス化されています");
			}
		}
		
		public static function getInstance():ILogger {
			
			if (instance == null) {
				instance = Log.getLogger("mashup");
			}
			
			return instance;
			
		}
		
		
	}
}